package com.yonyou.pmclouds;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ServletComponentScan
@ImportResource(locations = {"classpath:com/yonyou/pmclouds/spring/spring-data.xml"})
@MapperScan("com.yonyou.pmclouds.**.mapper")// 这个应该放在对数据源定义的位置上，但是现在没有对数据源的定义
public class PmMainApplication  {
    public static void main(String[] args) {
        SpringApplication.run(PmMainApplication.class, args);
    }


}
